package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @className AssetBasicInfo
 * @Description TODO
 * @Author wyy
 * @Data 2021/1/20 16:48
 * @Version 1.0
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("asset_basic_info")
public class AssetBasicInfo  implements Serializable {
    private static final long serialVersionUID = 45646L;
    /* id  @TableId("s_id")  其他字段  @TableField("s_age") //进行实力类中的字段和数据库中的进行匹配*/
    @TableId(type = IdType.AUTO)   //添加自动递增
    private Integer id;                  //id
    @TableField("asset_id")
    private String assetId;             //资产编号
    private String address;              //实际地址
    @TableField("area_id")
    private Integer areaId;             //资产所在区域(区域编号)
    @TableField("company_id")
    private Integer companyId;          //资产实际管理方(公司编号)
    @TableField("house_mark")
    private String houseMark;          //房产证号
    @TableField("soil_mark")
    private String soilMark;            //土地证号
    private String remark;               //备注
    @TableField("public_owner")
    private String publicOwner;         //是否共有
    @TableField("unuse_area_exist_status")
    private String unuseAreaExistStatus;//
    @TableField("unuse_area")
    private Double unuseArea;             //闲置面积
    @TableField("unuse_reason")
    private String unuseReason;           //闲置原因
    @TableField("owner_area_exist_status")
    private String ownerAreaExistStatus;//是否存在自有面积
    @TableField("owner_area")
    private Double ownerArea;              //自有面积
    @TableField("own_reason")
    private String ownReason;              //自有原因
    private String security;                //有无产证
    @TableField("out_picture")
    private String outPicture;             //外附图
    @TableField("plane_picture")
    private String planePicture;            //平面图
    @TableField("completion_date")
    private Date   completionDate;          //竣工日期



}
